.menu-box {
  width: 200px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background-color: #3b3e45; 
  .head {
    flex-shrink: 0;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    img {
      width: 50px;
      height: 50px;
      display: block;
      border-radius: 50%;
      margin: 10px auto; 
    }
    .title {
      color: white;
      font-size: 16px;
      text-align: center;
      padding: 0 10px;
    }
  }

  .list-box {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    .menu-item {
      height: 50px;
      line-height: 50px;
      color: #b5b8bf;
      padding: 0 15px;
      overflow: hidden;
      cursor: pointer;
      // font-weight: bold;
      position: relative;
      &:hover {
        background-color: #4a4d53;
      }
      > span {
        margin-left: 10px;
      }
      i {
        font-size: 20px;
      }
    }
    .cur {
      background-color: #4a4d53;
      color: $primary-color;
      &::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background-color: $primary-color;
      }
    }
    .item-box {
      width: 200px;
      color: #b5b8bf;
      position: relative;
      &::before {
        content: "";
        display: block;
        width: 85%;
        height: 1px;
        background-color: #464748;
        // margin: 0 auto;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
      }
      .title {
        color: #6a6d72;
        padding: 15px 15px;
      }
    }
  }
}
.menu-mini {
  width: 70px;
  .head {
    padding-bottom: 0;
    img {
      margin-bottom: 21px;
      width: 50px;
      height: 50px;
    }
  }
  .list-box {
    .menu-item {
      padding: 0;
      text-align: center;
      > i {
        font-size: 25px;
      }
      > span {
        display: none;
      }
    }
    .item-box {
      width: 70px;
      .title {
        // text-align: center;
        display: none;
      }
    }
  }
}
